package com.ray.auth.system.vo;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

import com.ray.auth.system.table.entity.Menu;

public class Resource implements Serializable{
	private static final long serialVersionUID = 1L;
	//是否拥有权限	
	   private Boolean check;
	   //是否允许授权
	   private Boolean read;
	   /**菜单**/
       private Menu menu;
       
       private List<ResourceButton> buttons = new ArrayList<ResourceButton>();
       
       private List<Resource> child = new ArrayList<Resource>();

	public Boolean getCheck() {
		return check;
	}

	public void setCheck(Boolean check) {
		this.check = check;
	}

	public Menu getMenu() {
		return menu;
	}

	public void setMenu(Menu menu) {
		this.menu = menu;
	}

	public List<ResourceButton> getButtons() {
		return buttons;
	}

	public void setButtons(List<ResourceButton> buttons) {
		this.buttons = buttons;
	}

	public Boolean getRead() {
		return read;
	}

	public void setRead(Boolean read) {
		this.read = read;
	}

	public List<Resource> getChild() {
		return child;
	}

	public void setChild(List<Resource> child) {
		this.child = child;
	}
 
 
}
